//
//  ZHEncode.swift
//  MobileRTCSwiftSample
//
//  Created by zhangheng on 2020/2/23.
//  Copyright © 2020 Zoom Video Communications, Inc. All rights reserved.
//

import Foundation

extension String {
    func convertToHex() -> String {
        return String16.convert(toHexStr: self)
    }
    func convertToString() -> String {
        return String16.convertHexStr(to: self)
    }
    func toCapitalString() -> String {
        return String16.toUpper(self)
    }
    func toLowerString() -> String {
        return String16.toLower(self)
    }
}
